CREATE TABLE [dbo].[ItemRole](
	[ItemID] [int] NOT NULL,
	[RoleName] [nvarchar](50) NOT NULL,
	[AccessLevel] [int] NOT NULL CONSTRAINT [DF_ItemRole_AllowMask]  DEFAULT ((0)),
 CONSTRAINT [PK_ItemRole] PRIMARY KEY CLUSTERED 
(
	[ItemID] ASC,
	[RoleName] ASC
)WITH (PAD_INDEX  = OFF, STATISTICS_NORECOMPUTE  = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS  = ON, ALLOW_PAGE_LOCKS  = ON) ON [PRIMARY]
) ON [PRIMARY]